home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
ddoor350.zip
/
DDOOR.DOC
< prev
next >
Wrap
Text File
|
1992-06-11
|
9KB
|
247 lines
===================================================================
D-DooR
Top Doors Statistics Bulletin Generator for RemoteAccess
Version 3.50 May 2, 1992
(C) Copyright Victor Magdic 1991,1992
All Rights Reserved
===================================================================
Description
===========
D-DooR is a program for RemoteAccess which will automatically track your door
usage, and *who* is using them. It will generate "Top Door" stats, as well
as "Top Door User" stats. D-DooR has been tested on RA 1.10 and 1.11
-it should work fine with future versions as well, but that will depend on
what changes are made to the RA file structures.
How much does it cost?
======================
This utility is FREE! If you like it you can continue to use it
for as long as you like free of charge!
If you do decide to use it, I would be excited to hear from you !!
I encourage you to send me a postcard at the address listed below (see
the end of this text file). It will cost you practically nothing, and
will let me know you're enjoying the program. It will also give me
incentive to keep improving the program and make it even better!
Door Name Data File
===================
You must create a data file called DDOOR_ID.DAT which contains information
about your doors. The file must be a plain ASCII text file. Each door which
you want to keep track of has three lines of information associated with
it, up to 99 doors can be specified in this way:
Line 1. Three letter code to identify the door
Line 2. The door name (as you want it to appear in the bulletin).
Line 3. The number of times the door has been accessed. When you are
first creating this file, set this value to 1 (setting it to
zero will create an error when you run DDOOR).
Example of DDOOR_ID.DAT:
TW2 <--- three letter code
TradeWars 2002 <--- door name
1 <--- times used
AC6
Alpha Colony 6
1
YTR
Yankee Trader
1
** do not put any blank lines in the data file, and be sure you maintain the
proper order (id, doorname, times used).
** there is a sample DDOOR_ID.DAT file included which you can modify.
** TIP: You don't have to start the door counter at 1, you can start it at
any number you want. For example, if you have been running Tradewars
for some time, you can make an estimate of how many times it has been
used and put that number in instead.
** TIP: Since the data file is a plain ASCII text file, you can modify it
at any time and change the values. So if you want to restart
the counters, just set them all to 1 (not zero).
Location of Files
=================
DDOOR_ID.DAT must be placed in the main RA directory as specified by the RA
environment variable (e.g. D:\RA or whatever). DDOOR.EXE can be placed either
in the main RA directory, or anywhere in your path (if you are running
multi-node see below).
Multi-Node Considerations
-------------------------
D-DooR uses information from EXITINFO.BBS to update the door-user-counter
(see below), and it will look for EXITINFO in the current directory. At
the same time, D-DooR uses the RA environment variable to locate its
data files. This makes multi-node setups easy. All you have to do
is run D-DooR from your node directory (where the exitinfo.bbs will
be stored), and D-DooR will handle the rest. It's not necessary to
have a copy of DDOOR.EXE in each node directory, provided that
DDOOR.EXE is somewhere in your path.
Updating Door Counters
======================
To update the counter for a particular door, run DDOOR in your batch file
after you run the door and specify the three letter ID code that corresponds
to that door on the command line.
Example: DDOOR AC6 ; would update the counter for Alpha Colony 6
if you were using the example data file shown
above.
DDOOR TW2 ; would update the counter for Tradewars 2002
Note: If you enter an ID code that is not defined in the data file
(DDOOR_ID.DAT) it will simply be ignored.
Note: The ID codes are not case sensitive, so AC6, ac6, and Ac6 would all
be treated the same.
Updating "User" Counters
========================
D-DooR automatically updates the "top door user" counter every time it
is run. No specific command line switches are required.
Note: At present, there is no way to edit the top-door-user counter
file (DDOOR_NA.DAT). Perhaps in a future release, a simple editor will
be included. For now, if you want to restart the "user" counter, you
will have to delete DDOOR_NA.DAT.
Generating Bulletins
====================
Bulletins are NOT automatically generated every time you update the door
counter. This is done in the interest of speed, since generating bulletins
every time a user accesses a door can be time consuming, particulary if you
have a slow hard drive. (TIP: if you want to generate bulletins after every
door a method is explained below)
In order to generate the bulletins you must use the /G parameter on the
command line.
Example: DDOOR /G
This will create four files in your RA Textfiles directory (as defined
in RACONFIG):
DDOOR_ID.ANS Ansi version of Top Doors Bulletin
DDOOR_ID.ASC Ascii " " " " "
DDOOR_NA.ANS Ansi version of Top Door Users Bulletin
DDOOR_NA.ASC Ascii " " " " " "
By default, DDOOR ranks the Top 10 Doors/Users and only puts these in the
bulletin. If you want more, specify the number on the command line as follows:
DDOOR /G 15 ; would generate a "Top 15" bulletin.
** It is recommended that you generate bulletins once per day
in your daily maintenance routine. If you don't mind the extra
delay, and want to generate new bulletins after every door is used, just
generate the bulletins separately after you update the door counter. For
example, your batch file might look like this:
REM batch file for TW2002 -game one
@echo off
cd\ra\doors\tw2002
tw2002 -qbbs
cd\ra
rem update door counter for Tradewars 2002
DDOOR TW2
rem generate bulletins for top 20 doors/users
DDOOR /G 20
Using Handles
-------------
By default, D-DooR uses REAL names when it creates the "top door
user" bulletins. If you want to use HANDLES instead, specify the
/H switch along with the /G switch, example:
DDOOR /G /H 12
would generate top 12 "door user" stats (and top 12 "door
stats"), using Handles instead of Real names.
Quick Summary of Command Line Options
=====================================
To Update Counters:
DDOOR idcode ; where idcode is the three letter door identifier
specified in the control file (DDOOR_ID.DAT)
To Generate Bulletins:
DDOOR /G [/H] [RANK] ; where /H uses handles and RANK is the
number of doors/users you want "ranked"
in the bulletins.
Other:
DDOOR /? ; help screen
Legal Disclaimer
================
No warranty for this utility is either expressed or implied. The author
shall not be held liable for any direct or consequential damage which
arises from the use of this utility. I make no gaurantees it will work
properly on your system.
Suggestions always welcome!
===========================
If you have any suggestions for improvement or wish to report any bugs,
you can reach me through my BBS:
The DeAdZoNe ...dare to enter The DeAdZoNe....
(416) 507-2159
Victor Magdic -SysOp
FidoNet: 1:259/427
TeleNet Canada: 20:22/4
or by writing to:
Victor Magdic
424 Camden Circle
Mississauga, Ontario
L4Z 2P4
CANADA
================================================================ end